package com.jhgsys.internal.workflow.service;

import com.jhgsys.internal.workflow.entity.WorkflowNodeReview;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 流程节点审批人员表 Service接口
 *
 * @author fenghaijun
 * @date 2024-07-19 09:18:03
 */
public interface IWorkflowNodeReviewService extends IService<WorkflowNodeReview> {
    /**
     * 查询（分页）
     * @author fenghaijun
     * @date 2024-07-19 09:18:03
     * @param request QueryRequest
     * @param workflowNodeReview workflowNodeReview
     * @return IPage<WorkflowNodeReview>
     */
    IPage<WorkflowNodeReview> findWorkflowNodeReviews(QueryRequest request, WorkflowNodeReview workflowNodeReview);

    /**
     * 查询（所有）
     * @author fenghaijun
     * @date 2024-07-19 09:18:03
     * @param workflowNodeReview workflowNodeReview
     * @return List<WorkflowNodeReview>
     */
    List<WorkflowNodeReview> findWorkflowNodeReviews(WorkflowNodeReview workflowNodeReview);

    /**
    * 根据ID查询
    * @author fenghaijun
    * @date 2024-07-19 09:18:03
    * @param id
    * @return WorkflowNodeReview
    */
    WorkflowNodeReview findWorkflowNodeReviewById(String id);

    /**
     * 新增
     * @author fenghaijun
     * @date 2024-07-19 09:18:03
     * @param workflowNodeReview workflowNodeReview
     */
    void createWorkflowNodeReview(WorkflowNodeReview workflowNodeReview);

    /**
     * 修改
     * @author fenghaijun
     * @date 2024-07-19 09:18:03
     * @param workflowNodeReview workflowNodeReview
     */
    void updateWorkflowNodeReview(WorkflowNodeReview workflowNodeReview);

    /**
     * 逻辑删除
     * @author fenghaijun
     * @date 2024-07-19 09:18:03
     * @param workflowNodeReview workflowNodeReview
     * @param workflowNodeReviewIds workflowNodeReviewIds
     */
    void deleteWorkflowNodeReview(WorkflowNodeReview workflowNodeReview, String workflowNodeReviewIds);

    /**
    * 物理删除
    * @author fenghaijun
    * @date 2024-07-19 09:18:03
    * @param workflowNodeReviewIds workflowNodeReviewIds
    */
    void physicallyDeleteWorkflowNodeReview(String workflowNodeReviewIds);
}
